package cn.wen.yinxiu.member.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.wen.yinxiu.common.entity.BaseEntity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 *
 * @ClassName: UserGroupRelationEntity
 * @Author 小飞
 * @Email coderwen22@163.com
 * @Date 2023-05-21 22:19:26
 * @Description: 聊天组关系类
 */
@Data
@TableName("user_group_relation")
public class UserGroupRelationEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户Id
	 */
	@TableId(value = "userId", type = IdType.AUTO)
	private Long userId;
	/**
	 * 群聊ID
	 */
	private Long groupId;
	/**
	 * 1：可用  0：禁用
	 */
	private Integer status;

}
